home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / AGLOSS.DIR / 00093_Script_93 < prev    next >
Text File  |  1995-09-06  |  689b  |  28 lines

  1. global gHoldArt
  2.  
  3. on resetAGlossary
  4.   set gHoldArt = 3
  5.   set the castnum of sprite 2 = gholdart
  6.   updatestage
  7. end
  8.  
  9. on AGlossaryRollover
  10.   set the castnum of sprite 2 = gHoldArt 
  11.   set whichsprite = the mousecast
  12.   if (whichsprite > 32 and whichsprite < 47) then
  13.     repeat while whichsprite = the mousecast
  14.       handcursor
  15.       --set whichsprite = the mousecast
  16.       set the castnum of sprite 2 = (whichsprite - 30)
  17.       updatestage
  18.       if the mousedown then
  19.         set gHoldArt = (whichsprite - 30)
  20.         set the castnum of sprite 2 = gHoldArt 
  21.       end if
  22.     end repeat
  23.   else
  24.     set the castnum of sprite 2 = gHoldArt 
  25.     updatestage
  26.   end if
  27. end
  28.